package com.gy.zpchat.util;

import android.widget.ImageView;

import com.bumptech.glide.Glide;

import com.gy.zpchat.R;

public class GlideUtils {
    public static void loadUrl(ImageView imageView, String url) {
        AppLogger.getInstance().d("load avatar Url :%s", url);
        Glide.with(imageView.getContext()).load(url).error(R.drawable.avatar).into(imageView);
    }
}
